import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useSwitchComponents = defineStore('switchComponents', () => {
  const showComponent = ref<Boolean>(true)
  const switchEvent = () => {
    showComponent.value = !showComponent.value
  }

  return { showComponent, switchEvent }
})
